//DON'T WORK BECAUSE AJAX sends request only to the same domain

//Type here your validation function
//Use elemValue as a value of your validated element
//    neededValue as a value to compare with elemValue
//Function must returns true if validation is not successful
//                      false otherwise
function remoteUrl() {
    var errorStatus = false;
    $.ajax({ async:false,
             url: elemValue,
             success: function (data, textStatus) {
                 if (textStatus != "success" || data.length == 0) {
                     errorStatus = true;
                 };
             },
             error: function() {
                    errorStatus = true;
             }
          });
    if (errorStatus) {
        return true;
    } else {
        return false;
    };
};

function getErrorMessage() {
    //Type here default error message for this validator. It's could be replaced
    //by validation options for every used element.
    //You can use %value% to place a current value of validated element
    var messages = {"en" : "Remote Url is inaccessible",
                    "ru" : "Удаленный ресурс недоступен или не существует"};
    messages = $.extend(messages, messagesCur);

    return messages[locale];
};